/*
 * Copyright 2022 The Open Islands Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.openislands.oi.pojo.vo;

import java.io.Serializable;
import java.util.Date;

public class NodeRouteVO implements Serializable {
    private Long id;
    private String nodeId;
    private String httpAccess;
    private String httpsAccess;
    private String grpcAccess;
    private String grpcsAccess;
    private Boolean tlsEnabled;
    private Date createTime;
    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public String getHttpAccess() {
        return httpAccess;
    }

    public void setHttpAccess(String httpAccess) {
        this.httpAccess = httpAccess;
    }

    public String getHttpsAccess() {
        return httpsAccess;
    }

    public void setHttpsAccess(String httpsAccess) {
        this.httpsAccess = httpsAccess;
    }

    public String getGrpcAccess() {
        return grpcAccess;
    }

    public void setGrpcAccess(String grpcAccess) {
        this.grpcAccess = grpcAccess;
    }

    public String getGrpcsAccess() {
        return grpcsAccess;
    }

    public void setGrpcsAccess(String grpcsAccess) {
        this.grpcsAccess = grpcsAccess;
    }

    public Boolean getTlsEnabled() {
        return tlsEnabled;
    }

    public void setTlsEnabled(Boolean tlsEnabled) {
        this.tlsEnabled = tlsEnabled;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "NodeRouteVo{" +
                "id=" + id +
                ", nodeId='" + nodeId + '\'' +
                ", httpAccess='" + httpAccess + '\'' +
                ", httpsAccess='" + httpsAccess + '\'' +
                ", grpcAccess='" + grpcAccess + '\'' +
                ", grpcsAccess='" + grpcsAccess + '\'' +
                ", tlsEnabled=" + tlsEnabled +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
